package com.titan.demo.camel.developers.SpringRoute.services.impl;

import com.titan.demo.camel.developers.SpringRoute.domain.BodyDomain;
import com.titan.demo.camel.developers.SpringRoute.services.ICService;
import com.titan.demo.camel.developers.SpringRoute.services.Utils;


/**
 *
 *
 * @author Administrator
 *
 */
public class CService implements ICService {
    public void c01(BodyDomain body) throws Exception {
        Utils.out(CService.class, "c01");
        Utils.sleep(1000);
        body.append("c01");
    }
    public void c02(BodyDomain body) throws Exception {
        Utils.out(CService.class, "c02");
        Utils.sleep(1000);
        body.append("c02");
    }
    public void c03(BodyDomain body) throws Exception {
        Utils.out(CService.class, "c03");
        Utils.sleep(1000);
        body.append("c03");
    }
}

